using System;
using System.ComponentModel;
using System.Web;
using com.paypal.wps.profiles;
using log4net;

namespace ASPDotNetSamples
{
	/// <summary>
	/// Summary description for Global.
	/// </summary>
	public class Global : HttpApplication
	{
		public static readonly ILog log = LogManager.GetLogger("com.paypal.wps.samples");
		public static bool is3token;
		


		private IContainer components = null;


		public static BuyNowParams CurrentBuyNowParams
		{
			get
			{
				return (BuyNowParams) HttpContext.Current.Session[Constants.BUY_NOW_PARAMS_SESSION_KEY];
			}
		}		

		public Global()
		{
			InitializeComponent();
		}	

		protected void Application_Start(Object sender, EventArgs e)
		{

		}

		protected void Session_Start(Object sender, EventArgs e)
		{
		
		}

		protected void Application_BeginRequest(Object sender, EventArgs e)
		{

		}

		protected void Application_EndRequest(Object sender, EventArgs e)
		{

		}

		protected void Application_AuthenticateRequest(Object sender, EventArgs e)
		{

		}

		protected void Application_Error(Object sender, EventArgs e)
		{

		}

		protected void Session_End(Object sender, EventArgs e)
		{

		}

		protected void Application_End(Object sender, EventArgs e)
		{

		}
			
		#region Web Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{    
			this.components = new Container();
		}
		#endregion
	}
}

